package com.team11.server.pojo.student;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author DuKang
 * @Date 2021/7/8 14:42
 * @Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="学生信息对象")
public class StudentInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "学生id")
    @TableId(value = "sid", type = IdType.AUTO)
    private Integer sid;

    @ApiModelProperty(value = "学号")
    @TableField("s_id")
    private String sNumber;

    @ApiModelProperty(value = "学生姓名")
    @TableField("s_name")
    private String sName;

    @ApiModelProperty(value = "身份证号")
    @TableField("s_id_number")
    private String sIdNumber;

    @ApiModelProperty(value = "性别")
    @TableField("s_gender")
    private String sGender;

    @ApiModelProperty(value = "邮箱")
    @TableField("s_email")
    private String sEmail;

    @ApiModelProperty(value = "手机号")
    @TableField("s_phone")
    private String sPhone;

    @ApiModelProperty(value = "院系")
    @TableField("c_department")
    private String cDepartment;

    @ApiModelProperty(value = "专业")
    @TableField("c_major")
    private String cMajor;

    @ApiModelProperty(value = "年级")
    @TableField("c_grade")
    private String cGrade;

    @ApiModelProperty(value = "班级")
    @TableField("c_class")
    private String cClass;

    @ApiModelProperty(value = "教师姓名")
    @TableField("t_name")
    private String tName;

    @ApiModelProperty(value = "班主任手机号")
    @TableField("t_phone")
    private String tPhone;

    @ApiModelProperty(value = "学生头像")
    @TableField("s_image")
    private String sImage;
}
